package TestDemo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2024-06-09
 * Time: 0:09
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        computer.useDevise(new Mouse());
        computer.useDevise(new KeyBoard());
        computer.powerOff();
    }
}
